/**
 * 
 */
package labox.innovation.gameserver.network.clientpackets;

import labox.innovation.gameserver.model.actor.instance.FuzePcInstance;
import labox.innovation.gameserver.network.serverpackets.CanShelveItemsPacket;

/**
 * @author ljsh
 * @date 2010-5-4
 * @version 1.0
 * @description  请求背包中可以寄售的物品列表
 */
public class RequestCanShelveItems extends L2GameClientPacket {
	private static final String _C_REQUESTCANSHELVEITEMS = "_C_RequestCanShelveItems";

	/* (non-Javadoc)
	 * @see labox.innovation.gameserver.network.clientpackets.L2GameClientPacket#getType()
	 */
	@Override
	public String getType() {
		return _C_REQUESTCANSHELVEITEMS;
	}

	/* (non-Javadoc)
	 * @see labox.innovation.gameserver.network.clientpackets.L2GameClientPacket#readImpl()
	 */
	@Override
	protected void readImpl() {

	}

	/* (non-Javadoc)
	 * @see labox.innovation.gameserver.network.clientpackets.L2GameClientPacket#runImpl()
	 */
	@Override
	protected void runImpl() {
		FuzePcInstance active = getClient().getActiveChar();
		if (active == null)
			return;
		active.sendPacket(new CanShelveItemsPacket(active));
	}

}
